{template "common","header"}
<script type="text/javascript" src="{JS_PATH}hchhr.js" charset="UTF-8"></script>
<link href="{CSS_PATH}hchhr.css" rel="stylesheet" type="text/css" />
<link href="{CSS_PATH}font-awesome.min.css" rel="stylesheet" type="text/css" />
<script language="JavaScript">
    $(document).ready(function(){
        var first_option = "<option value=''>=请选择=</option>";
        //获取职位分类
        $("select[name='position']").change(function(){
            $("select[name='position2']").html(first_option);
            getSubPosition($(this).val()); 
        });
        //获取行业分类
        $("select[name='industry']").change(function(){
            $("select[name='industry2']").html(first_option);
            getSubIndustry($(this).val());
        });
        getSubPosition('{$position}','{$position2}');
        getSubIndustry('{$industry}','{$industry2}');
    });
</script>
<div class="wrap hr" id="wrap">
<div class="bullet">
    <div class="bullet_title">| <label>华创俱乐部 HCCLUB</label></div>
    <div class="bullet_menu">
        <a href="/">首页</a>>
        人才对接 >
        招聘模块
    </div>
</div>
<hr>
<div class="hr_search_nav tabs">
    <ul class="tag_nav">
        <li class="active"><a href="#tab-1">职位搜索</a></li>
        <li style="display: none;"><a href="#tab-2">简历搜索</a></li>
    </ul>
    <div class="search_form">
        <form name="search_form" method="get" action="">
            <input type="hidden" name="m" value="hchhr" /><input type="hidden" name="c" value="index" /><input type="hidden" name="a" value="init" />
        <p><i class="fa fa-search fa-3x"></i><input name="keyword" type="text" value="" size="80" maxlength="50" placeholder="输入职位、城市关键词..." class="keyword"><input type="submit" value=" 搜 索 " class="btn_so"></p>
        <p>职能类别&nbsp;&nbsp;<select name="position" class="so_select">
            <option value="">=请选择=</option>
            {loop $position_list $r}
            <option value="{$r[position_no]}" {if $r[position_no]==$position}selected{/if}>{$r[position_name]}</option>
            {/loop}
        </select>&nbsp;&nbsp;&nbsp;&nbsp;<select name="position2" class="so_select">
            <option value="">=请选择=</option>
        </select>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;行业类别&nbsp;&nbsp;<select name="industry" class="so_select">
            <option value="">=请选择=</option>
            {loop $industry_list $r}
            <option value="{$r[industry_no]}" {if $r[industry_no]==$industry}selected{/if}>{$r[industry_name]}</option>
            {/loop}
        </select>&nbsp;&nbsp;&nbsp;&nbsp;<select name="industry2" class="so_select">
            <option value="">=请选择=</option>
        </select></p>
        </form>
        <p class="hot_city"><b>热门城市：</b><a href="{$curURL}&keyword=北京">北京</a><a href="{$curURL}&keyword=上海">上海</a><a href="{$curURL}&keyword=广州">广州</a><a href="{$curURL}&keyword=深圳">深圳</a><a href="{$curURL}&keyword=苏州">苏州</a><a href="{$curURL}&keyword=杭州">杭州</a><a href="{$curURL}&keyword=南京">南京</a><a href="{$curURL}&keyword=成都">成都</a><a href="{$curURL}&keyword=重庆">重庆</a><a href="{$curURL}&keyword=天津">天津</a><a href="{$curURL}&keyword=武汉">武汉</a><a href="{$curURL}&keyword=西安">西安</a></p>
    </div>
</div>
<div class="hr_list">
<div class="hr_aside">
    <div class="hr_search_block">
        <div class="block_name">工作年限<i class="fa fa-sort-desc fa-1x"></i></div>
        <ul>
            <li><a href="{$curURL}">不限</a></li>
            <li><a href="{$curURL}&years_start=-1">在读学生(10)</a></li>
            <li><a href="{$curURL}&years_start=0">应届毕业生(10)</a></li>
            <li><a href="{$curURL}&years_start=1&years_end=2">1-2年(10)</a></li>
            <li><a href="{$curURL}&years_start=3&years_end=5">3-5年(10)</a></li>
            <li><a href="{$curURL}&years_start=6">6年以上(10)</a></li>
        </ul>
    </div>

    <div class="hr_search_block">
        <div class="block_name">发布日期<i class="fa fa-sort-desc fa-1x"></i></div>
        <ul>
            <li><a href="">不限</a></li>
            <li><a href="{$curURL}&date=1">今天(10)</a></li>
            <li><a href="{$curURL}&date=3">近三天(10)</a></li>
            <li><a href="{$curURL}&date=7">近一周(10)</a></li>
            <li><a href="{$curURL}&date=30">近一个月(10)</a></li>
        </ul>
    </div>

    <div class="hr_search_block">
        <div class="block_name">学历要求<i class="fa fa-sort-desc fa-1x"></i></div>
        <ul>
            <li><a href="{$curURL}">不限</a></li>
            <li><a href="{$curURL}&edu=1">高中(10)</a></li>
            <li><a href="{$curURL}&edu=2">中专(10)</a></li>
            <li><a href="{$curURL}&edu=3">大专(10)</a></li>
            <li><a href="{$curURL}&edu=4">本科(10)</a></li>
            <li><a href="{$curURL}&edu=5">本科以上(10)</a></li>
        </ul>
    </div>

    <div class="hr_search_block">
        <div class="block_name">月薪范围<i class="fa fa-sort-desc fa-1x"></i></div>
        <ul>
            <li><a href="{$curURL}">不限</a></li>
            <li><a href="{$curURL}&salary_start=0">面议</a></li>
            <li><a href="{$curURL}&salary_start=2000&salary_end=3999">2000-3999(10)</a></li>
            <li><a href="{$curURL}&salary_start=4000&salary_end=5999">4000-5999(10)</a></li>
            <li><a href="{$curURL}&salary_start=6000&salary_end=7999">6000-7999(10)</a></li>
            <li><a href="{$curURL}&salary_start=8000&salary_end=9999">8000-9999(10)</a></li>
            <li><a href="{$curURL}&salary_start=10000">10000以上(10)</a></li>
        </ul>
    </div>
</div>
<div class="hr_main">
    <div class="hr_sort">共<span class="hr_count">{$count}</span>个工作　<a class="active" href="{$curURL}">默认排序<i class="fa fa-long-arrow-down fa-1x"></i></a><a href="{$curURL}&orderby=1">按更新日排序<i class="fa fa-long-arrow-down fa-1x"></i></a><a href="{$curURL}&orderby=2">按首发日排序<i class="fa fa-long-arrow-down fa-1x"></i></a><a href="{$curURL}&orderby=3">按相关度排序<i class="fa fa-long-arrow-down fa-1x"></i></a></div>
    <div class="hr_job">
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="hr_tb_list">
            <tr class="hr_tb_head">
                <td width="32%">职位名称</td>
                <td width="38%">公司名称</td>
                <td width="15%">工作地点</td>
                <td width="15%">日期</td>
            </tr>
            {loop $lists $k $r}
            <tr id="{$k}" {if ($k+1)%2==1}class="hr_td_white"{else}class="hr_td_ash"{/if}>
                <td><a class="job_name" href="/?m=hchhr&c=index&a=job_details&jobid={$r[id]}" target="_blank">{$r[job_name]}</a></td>
                <td>{$r[company]}</td>
                <td>{$r[province]}{$r[city]}</td>
                <td>{date('Y-m-d',strtotime($r[last_updated_time]))}</td>
            </tr>
            {/loop}

        </table>
        <div class="hr_pages">{$pages}</div>
    </div>
</div>

</div>
</div>
{template "common","footer"}